pkgname=sysbench-threads-git
pkgver=git
pkgrel=1
pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load."
url="http://gitee.com/ssri-mirrors/sysbench.git"
arch=('x86_64' 'i386' 'aarch64')
license=('GPL')
makedepends_debian_11=(libtool)
source=("http://gitee.com/ssri-mirrors/sysbench.git")
md5sums=('SKIP')

build()
{
  cd "$srcdir/sysbench"
  ./autogen.sh
  ./configure --prefix=/usr --without-gcc-arch --without-mysql
  make
}

package()
{
  cd "$srcdir/sysbench"
  make DESTDIR=$pkgdir install
}
